gdk_window_create_similar_image_surface
gdk_cairo_get_clip_rectangle
gdk_cairo_get_drawing_context
-gdk_cairo_set_source_color
gdk_cairo_set_source_rgba
gdk_cairo_set_source_pixbuf
gdk_cairo_set_source_window
return clip_exists;
}
-/**
- * gdk_cairo_set_source_color:
- * @cr: a cairo context
- * @color: a #GdkColor
- *
- * Sets the specified #GdkColor as the source color of @cr.
- *
- * Since: 2.8
- *
- * Deprecated: 3.4: Use gdk_cairo_set_source_rgba() instead
- */
-void
-gdk_cairo_set_source_color (cairo_t *cr,
- const GdkColor *color)
-{
- g_return_if_fail (cr != NULL);
- g_return_if_fail (color != NULL);
-
- cairo_set_source_rgb (cr,
- color->red / 65535.,
- color->green / 65535.,
- color->blue / 65535.);
-}
-
/**
* gdk_cairo_set_source_rgba:
* @cr: a cairo context
gdk_cairo_region_create_from_surface
(cairo_surface_t *surface);
-GDK_DEPRECATED_IN_3_4_FOR(gdk_cairo_set_source_rgba)
-void gdk_cairo_set_source_color (cairo_t *cr,
- const GdkColor *color);
-
GDK_AVAILABLE_IN_3_10
cairo_surface_t * gdk_cairo_surface_create_from_pixbuf (const GdkPixbuf *pixbuf,
int scale,